﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

using System.Windows.Ink;
using System.IO;
using System.Collections;
using System.Runtime.Serialization.Formatters.Binary;
using System.Runtime.Serialization;

namespace UCUTextRecognizer
{
    [Serializable]
    public class DiagramStylusPoint
    {
        public double X;
        public double Y;
        public float Pressure;
        public DiagramStylusPoint(double X, double Y, float Pressure)
        {
            this.X = X;
            this.Y = Y;
            this.Pressure = Pressure;
        }

        public StylusPoint toStylusPoint()
        {
            return new StylusPoint(X, Y, Pressure);
        }
    }
}
